﻿using BCCommon;
using BCDto.Sim.Admin.Admin;
using BCDto.TMS.RedPacket.RedPacketSupplement;

namespace BCService.TMS.RedPacket.RedPacketSupplement
{
    public interface IRedPacketSupplementService
    {
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="redPacketSupplementId"></param>
        void Delete(long redPacketSupplementId);
        /// <summary>
        /// 获取信息
        /// </summary>
        /// <param name="redPacketSupplementId"></param>
        /// <returns></returns>
        RedPacketSupplementDto GetById(long redPacketSupplementId);
        /// <summary>
        /// 获取红包补充记录
        /// </summary>
        /// <param name="admin">管理员信息</param>
        /// <param name="redPacketId">红包id</param>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <returns></returns>
        PageableList<RedPacketSupplementDto> GetList(AdminDto admin,long? redPacketId, int pageIndex, int pageSize);
    }
}